function Punkt(x, y)
{
  this.x = x;
  this.y = y;
}

Punkt.prototype.odległość = function()
{
  return Math.sqrt(this.x * this.x + this.y * this.y);
}


